<?php

namespace app\model\base;


/**
 * BaseTaskModel base model
 * @property int $id Id
 * @property string $name Name
 * @property int $parent Parent
 * @property int $milestone Milestone
 * @property int $project Project
 * @property int $owner Owner
 * @property string $started_date Started Date
 * @property float $duration Duration
 * @property int $duration_type Duration Type
 * @property float $hours_worked Hours Worked
 * @property string $end_date End Date
 * @property int $status Status
 * @property int $priority Priority
 * @property int $percent_complete Percent Complete
 * @property string $description Description
 * @property mixed $target_budget Target Budget
 * @property string $related_url Related Url
 * @property int $creator Creator
 * @property int $order Order
 * @property int $client_publish Client Publish
 * @property int $dynamic Dynamic
 * @property int $access Access
 * @property int $notify Notify
 * @property string $departments Departments
 * @property string $contacts Contacts
 * @property mixed $custom Custom
 * @property int $type Type
 */
class BaseTaskModel extends \think\Model
{

    protected $schema = [
    'id' => 'int',
    'name' => 'string',
    'parent' => 'int',
    'milestone' => 'int',
    'project' => 'int',
    'owner' => 'int',
    'started_date' => 'string',
    'duration' => 'float',
    'duration_type' => 'int',
    'hours_worked' => 'float',
    'end_date' => 'string',
    'status' => 'int',
    'priority' => 'int',
    'percent_complete' => 'int',
    'description' => 'string',
    'target_budget' => 'mixed',
    'related_url' => 'string',
    'creator' => 'int',
    'order' => 'int',
    'client_publish' => 'int',
    'dynamic' => 'int',
    'access' => 'int',
    'notify' => 'int',
    'departments' => 'string',
    'contacts' => 'string',
    'custom' => 'mixed',
    'type' => 'int',
    ];
}
